#define _CRT_SECURE_NO_WARNINGS 1
#include<stdlib.h>
#include<assert.h>
#include<stdio.h>
#define arrSize 20
int main()
{
	int n = 0;
	scanf("%d", &n);
	int val = 0;
	int ret = 1;
	int arr[arrSize] = { 0 };
	for (int i = 0; i < n; i++)
	{
		if (i > 0)
		{
			assert(ret / ((i + 1) * 2) == arr[i - 1] && i < arrSize);
		}
		val = ret;
		arr[i] = ret;
		ret = ret * (i + 2) * 2;
	}
}